package com.example.midushop.service.customer.impl;

import com.example.midushop.entity.customer.CustomerLogin;
import com.example.midushop.mapper.customer.CustomerLoginMapper;
import com.example.midushop.service.customer.CustomerLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 账号信息服务实现接口
 * */
@Service
public class CustomerLoginServiceImpl implements CustomerLoginService {
    @Autowired
    CustomerLoginMapper customerLoginMapper;

    @Override
    public CustomerLogin findLoginNumber(String login_name, String password) {
        return customerLoginMapper.findLoginNumber(login_name,password);
    }
}
